func golang.org/x/mod/semver.compareVersion
3 uses
golang.org/x/mod/semver (current package)
semver.go#L162: func (vs ByVersion) Less(i, j int) bool { return compareVersion(vs[i], vs[j]) < 0 }
semver.go#L167: slices.SortFunc(list, compareVersion)
semver.go#L170: func compareVersion(a, b string) int {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)